using UnityEngine;

namespace NodeCanvas.Variables
{
	[AddComponentMenu("")]
	public class IntData : VariableData
	{
		public int value;

		public override object objectValue
		{
			get
			{
				return value;
			}
			set
			{
				if ((int)value != this.value)
				{
					this.value = (int)value;
					OnValueChanged(value);
				}
			}
		}
	}
}
